namespace NBody.Simulation
{
    using System;
    
    public delegate void OutputEventHandler(object o, OutputEventArgs args);
        
    public class OutputEventArgs
    {
        int nsteps;
        NBodySystem system;
        
        public OutputEventArgs(int nsteps, NBodySystem s)
        {
            this.nsteps= nsteps;
            this.system = s;
        }
        
        public int Nsteps
        {
            get { return nsteps; }
        }
        
        public NBodySystem System
        {
            get { return system; }
        }
    }
}
